import { prop, getModelForClass } from '@typegoose/typegoose';

class Post{
  @prop()
  public title?: string
  @prop()
  public content?: string
}
//const PostModel = getModelForClass(Post)
export {
  Post,
  //PostModel
}